.searchBox {
  display: flex;
  justify-content: center;
  padding-top: 8%;
  .searchBar {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;

    .el-form-item {
      flex-grow: 1;
      margin-bottom: 0;
      position: relative;

      .el-input {
        height: 40px;
        width: 100%;

        .el-input__inner {
          height: 100%;
          font-size: 16px;
          padding: 10px;
          border-radius: 20px;
        }
        .el-input__icon {
          font-size: 20px;
          cursor: pointer;
        }
      }

      // 修改表单校验报错样式
      .el-form-item__error {
        position: absolute;
        font-size: 14px;
        color: #F44336;
        padding-left: 22px;
        bottom: -20px;

        &::before {
          content: '•';
          position: absolute;
          left: 0;
          top: 1px;
          font-size: 14px;
          color: #F44336;
        }
      }
    }

    .el-button {
      font-size: 16px;
      height: 40px;
      width: 100px;
      margin-left: 15px;
      border-radius: 5px;
    }
  }
}

@media screen and (max-width: 768px) {
  .searchBox {
    .searchBar {
      flex-direction: column;

      .el-form-item {
        width: 100%;
      }

      .el-button {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
      }
    }
  }
}
